package com.wisdytech.linkdcs.tool.service;

import com.github.pagehelper.PageInfo;
import com.wisdytech.common.bean.Filter;
import com.wisdytech.linkdcs.system.model.SysUser;
import com.wisdytech.linkdcs.tool.model.ToolRepair;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhanghailin
 * @since 2018-06-14
 */
public interface IToolRepairService {

    PageInfo<ToolRepair> getToolRepairByFilter(String toolCode, String toolName, String toolType, String toolModel,String toolStatus, String equipCode , Filter filter);

    Boolean repair(ToolRepair toolRepair, SysUser operator);

    Boolean sendPepair(ToolRepair toolRepair, SysUser operator);

    Boolean backFactory(String toolCodes,String pkIds, SysUser operator);

    Boolean scrap(String toolCodes, SysUser operator);

}
